Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JTC] Add additional parameter to enable configuration of interfaces for following controllers in a chain. #380

Merged
merged 3 commits into from
Aug 21, 2022

Conversation

destogl
Copy link
Member

@destogl destogl commented Jul 6, 2022

This PR replaces example PR #318.

Changes:

  • adds new parameter to configure different command and state interface (with different joint names)
  • tests for this parameter
  • switches use of gtest to gmock

@mergify
Copy link
Contributor

mergify bot commented Jul 6, 2022

This pull request is in conflict. Could you fix it @destogl?

@mergify
Copy link
Contributor

mergify bot commented Aug 10, 2022

This pull request is in conflict. Could you fix it @destogl?

@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2022

Codecov Report

Merging #380 (d3d8c53) into master (e7f9962) will decrease coverage by 5.79%.
The diff coverage is 20.43%.

@@            Coverage Diff             @@
##           master     #380      +/-   ##
==========================================
- Coverage   35.78%   29.98%   -5.80%     
==========================================
  Files         189        7     -182     
  Lines       17570      737   -16833     
  Branches    11592      422   -11170     
==========================================
- Hits         6287      221    -6066     
+ Misses        994      161     -833     
+ Partials    10289      355    -9934     
Flag Coverage Δ
unittests 29.98% <20.43%> (-5.80%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...de/diff_drive_controller/diff_drive_controller.hpp 100.00% <ø> (ø)
...ontroller/test/test_load_diff_drive_controller.cpp 12.50% <0.00%> (ø)
diff_drive_controller/src/odometry.cpp 42.16% <11.11%> (ø)
...ive_controller/test/test_diff_drive_controller.cpp 17.62% <12.08%> (ø)
diff_drive_controller/src/speed_limiter.cpp 46.55% <13.33%> (ø)
...troller/include/diff_drive_controller/odometry.hpp 20.00% <20.00%> (ø)
...iff_drive_controller/src/diff_drive_controller.cpp 32.67% <24.59%> (ø)
...ollers/test/test_joint_group_effort_controller.cpp
...nt_state_controller/src/joint_state_controller.cpp
..._broadcaster/test/test_joint_state_broadcaster.cpp
... and 192 more

@destogl destogl requested review from pac48 and removed request for TomoyaFujita2016 and UsamaHamayun1 August 11, 2022 12:58
Copy link
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy with this provided that the tests actually run

@bmagyar bmagyar merged commit 93fa9fe into ros-controls:master Aug 21, 2022
mamueluth pushed a commit to StoglRobotics-forks/ros2_controllers that referenced this pull request Aug 26, 2022
…for following controllers in a chain. (ros-controls#380)

* [JTC] Add additional parameter to enable configuration of interfaces for following controllers in a chain.
* Use command_joint_states correctly in parameters depending on joint states.
* Fixup tests.
@destogl destogl deleted the chainable-jtc branch April 13, 2023 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants